<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>第一道异步面试题</h2>
</body>
<script>
    async function asyncl(){
        console.log('11');
        await async2();
        console.log('22');
    }
     async function async2(){
        console.log('33');
    }
    console.log('44');
    setTimeout(()=>{
        console.log('55');
    },0);
    asyncl();
    new Promise(function(reslove){
        console.log('66');
        reslove()
    }).then(function(){
        console.log('77');
    })
    console.log('88');
</script>

</html>